package lunadevs.luna.module.exploits;
 
import org.lwjgl.input.Keyboard;
 
import lunadevs.luna.category.Category;
import lunadevs.luna.main.Luna;
import lunadevs.luna.module.Module;
import lunadevs.luna.utils.MathUtils;
import lunadevs.luna.utils.TimeHelper;
import net.minecraft.client.Minecraft;
import net.minecraft.network.play.client.C03PacketPlayer;
 
public class Invisible extends Module{
 
    int counter;
    TimeHelper time;
   
    public Invisible() {
        super("Invisible", Keyboard.KEY_NONE, Category.EXPLOITS, true);
        this.time = new TimeHelper();
    }
    @Override
    public void onUpdate() {
        if (!this.isEnabled) return;
        this.counter += 1;
        if ((this.counter > 59.7D)) {
            mc.thePlayer.sendChatMessage("/dis bat");
            mc.thePlayer.sendChatMessage("/undis");
            this.counter = 0;
        super.onUpdate();
        }
    }
   
    @Override
    public void onEnable() {
        Luna.addChatMessage("§7You need to be VIP+ to make this work. IP: skyblocky.com");
    }
    
    
   @Override
    public void onDisable() {
        super.onDisable();
    }
   
    @Override
    public String getValue() {
        return "Skyblocky";
    }
 
}